<h1>Role Manager</h1>
<p><a class="btn btn-primary" href="<?php echo admin_url('role/form/') ?>">Add Role</a></p>
<table class="table table-bordered table-striped clear">
    <tr>
        <th>Role Title</th>
        <th>Action</th>
    </tr>
    <?php if (!empty($roles)) : foreach ($roles as $role) : ?>
            <tr>
                <td><a href="<?php echo admin_url('role/form/' . $role->role_id) ?>" title="<?php echo $role->role_title ?>"><?php echo $role->role_title ?></a></td>
                <td><a class="btn" href="<?php echo admin_url('role/form/' . $role->role_id) ?>">Edit</a>
                    <a  class="btn" href="<?php echo admin_url('role/delete/' . $role->role_id) ?>">Delete</a></td>
            </tr>
            <?php
        endforeach;
    endif;
    ?>
</table>